package com.heima.homeservicemanagementsystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import com.heima.homeservicemanagementsystem.entity.common.ImageEntity;
import io.swagger.v3.oas.annotations.tags.Tag;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;

/**
 * 资质审核;
 *
 * @author : http://www.chiner.pro
 * @date : 2025-4-24
 */
@Data
/*@ApiModel(value = "资质审核",description = "")*/
@Tag(name = "资质审核")
@TableName(value = "qualification_review", autoResultMap = true)
@EqualsAndHashCode(callSuper = false)
public class QualificationReview {
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private String id;
    @Schema(title = "用户id", description = "")
    private String userId;

    @Schema(title = "真实姓名", description = "")
    private String name;

    @Schema(title = "身份证号", description = "")
    private String identityCard;

    @Schema(title = "身份证正面", description = "")
    @TableField(typeHandler = JacksonTypeHandler.class)
    private List<ImageEntity> identityCardFront;

    @Schema(title = "身份证反面", description = "")
    @TableField(typeHandler = JacksonTypeHandler.class)
    private List<ImageEntity> identityCardReverse;

    @Schema(title = "健康证", description = "")
    @TableField(typeHandler = JacksonTypeHandler.class)
    private List<ImageEntity> healthCertificate;
    @Schema(title = "是否审核", description = "")
    private String examine;

    @Schema(title = "是否通过", description = "")
    private String pass;

    @Schema(title = "修改建议", description = "")
    private String suggestedModifications;
    @Schema(title = "从业人员", description = "")
    @TableField(exist = false)
    private Employees employees;
}